<?php
/**
 * Created by PhpStorm.
 * User: Monkey
 * Date: 2021/10/13
 * Time: 11:27
 * Desc: 异常
 */
declare (strict_types=1);

namespace app\backend\controller;

use app\BaseController;

class Exception extends BaseController
{
    /**
     * 没有权限
     */
    public function notAuth()
    {
        return view('not_auth', [
            'msg' => '暂无权限,请联系管理员'
        ]);
    }

    /**
     * 404
     */
    public function notFound()
    {
        return view('not_found', [
            'msg' => '未找到页面'
        ]);
    }
}
